package com.htx.zqs.blesmartmask.utils;

/**
 * Created by KomoriWu
 * on 2019/2/17.
 */
public class Constants {
    public static final String BLE_DEVICE = "ble_device";
    public static final int BLE_DEVICE_COUNT_TIME = Integer.MAX_VALUE;//设备使用时间上限400分钟
    public static final String COURSE_END_TIME = "00 : 01";//课程结束时间

    //event
    public static final int EVENT_UP_WATER_DATA = 0x00001;//网络恢复后，上传油水数据
    public static final int EVENT_START_QUERY_SERVICE = 0x00002;//开启轮询上传设备使用次数和时间
    public static final int EVENT_STOP_QUERY_SERVICE = 0x00003;//停止轮询
    public static final int EVENT_UP_DEVICE_INFO = 0x00004;//上传设备使用次数和时间
    public static final int EVENT_PAUSE_QUERY_SERVICE = 0x00005;//暂停轮询
    public static final int EVENT_REFRESH_ELECTRIC = 0x00006;//刷新设备电量
    public static final int EVENT_STOP_COURSE = 0x00007;//课程结束
    public static final int EVENT_START_COURSE = 0x00008;//课程开始
}
